package com.foreknow.elmboot.mapper;

import com.foreknow.elmboot.po.OrderDetailet;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface OrderDetailetMapper {
    /**
     * 根据订单编号查询订单明细
     * @param orderId
     * @return
     */

    public List<OrderDetailet> getOrderDetailetByOrderIdDao (Integer orderId);

    /**
     * 批量添加明细
     * @param list
     * @return
     */
    public int saveOrderDetailDao (List<OrderDetailet> list);
}
